package com.lix.dto.admin.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;


@Data
public class CreateUserDTO {

    @NotBlank(message = "用户名为必传项")
    private String username;

    @NotNull(message = "角色列表为必传项")
    private List<Integer> roleIds;
}
